/**Created by the LayaAirIDE*/
package view
{
	import ui.GameOverUI
	import laya.events.Event;

	public class GameOver extends GameOverUI
	{
		
		public function GameOver() 
		{
			btn_restart.on(Event.CLICK,this,onClickRestart);
		}
		
		private function onClickRestart():void
		{
			GameDispatcher.getInstance().event(EventName.GAME_START);
			this.close();
		}
	}

}